<template>
  <div>
    <!-- 加载过程：index.html-> main.js-> 加载app.vue -->
    <!-- SPA:单页应用 -- 网站只有一个inde.html -->
    <my-header />
    <!-- 路由占位符 -->
    <router-view />
    <my-footer />
  </div>
</template>

<script>
import MyFooter from "./components/MyFooter.vue";
import MyHeader from "./components/MyHeader.vue";
export default {
  components: { MyHeader, MyFooter },
};
</script>

<style lang="scss" scoped>
// 全局引入css文件：@import
@import url("./assets/css/common.css");
@import url("./assets/css/mycss.css");
</style>
